package com.wenson.behavior.iterator;

/**
 * @ClassName: Iterator
 * @Author: luowangcheng
 * @Date: 2024/6/15 12:49
 * @Description:
 */
public interface Iterator<E> {
    E next(); //返回下一个元素
    boolean hasNext(); //是否还有下一个元素
}
